ownerElement

public abstract Optional<Element> ownerElement()

Returns an Optional that contains the owner element of the attribute if such owner exists, otherwise returns an empty Optional.

Throws

when this instance is closed